package fr.mywiki.view.array;

import fr.mywiki.view.array.cell.CellType;

/** Contains specific information about one column of a array. */
public class ArrayColumn {
	/** Title of the column */
	private String title;

	/** Type of the cells of the column */
	private CellType type;

	/** Size of the column. Eventually not said if it is automatic size. */
	private int size;

	private ArrayColumn() {
	}

	public ArrayColumn(String title, CellType type, int size) {
		this.title = title;
		this.type = type;
		this.size = size;
	}
	
	public ArrayColumn(String title, CellType type) {
		this.title = title;
		this.type = type;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public CellType getType() {
		return type;
	}

	public void setType(CellType type) {
		this.type = type;
	}
}
